//
//  CTUserSubjectsList.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/5/25.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CTUserSubjectsListDelegate;

@interface CTUserSubjectsList : UIView
@property(nonatomic,setter=setUserPublishArr:)NSArray * userSubArray;
@property(nonatomic,assign)id<CTUserSubjectsListDelegate>delegate;

-(void)refresh;
-(void)refreshPullDownEnd;
-(void)refreshPullUpEnd;

-(void)reloadData;


-(void)setHeadView:(UIView *)headView;

@end

@protocol CTUserSubjectsListDelegate <NSObject>

//刷新
-(void)refreshSubjectCollectionControlPullDown:(CTUserSubjectsList *)view;
-(void)refreshSubjectCollectionControlPullUp:(CTUserSubjectsList *)view;

-(void)userSubjectPublishCollectionListViewClicked:(CTUserSubjectsList *)view;

-(void)userSubjectPublishCollectionListScrollViewDidScroll:(UIScrollView *)scrollView;

@end